﻿





			  
<html>
	
<head>
    <title>iBos/e Test</title>
	<style type="text/css">
		.field-margin {
			margin: 10px; 
		}
		.selected {
			background-color: #FF0;
		}
	</style>
	<link rel="stylesheet" type="text/css" href="otherscript/extjs/resources/css/ext-all.css">
    <script type="text/javascript" src="otherscript/extjs/ext-debug.js"></script>
    
	
<cftry>
	
	
	<cfwebsocket name        ="ws" 
             onMessage   ="displayMessage" 
			 subscribeto ="chat" 
			 onError     ="displayError"
			 onOpen      ="displayOpen"
			 onClose     ="displayClose" 
   />
	
	<script type="text/javascript" src="app.js"></script>
	<script>
    	var displayMessage = function() {
			console.log('display message on message');
		};
		var displayError = function() {
			console.log('display message on error');
		};
		var displayOpen = function() {
			console.log('display message on open');
		};
		var displayClose = function() {
			console.log('display message on close');
		};
    </script>
	
</head>
<body>

</body>

</html>

	<cfcatch>
		<cfoutput>
			{
				"success": false,
				"form": [{
					"detail": #cfcatch.Detail# #cfcatch.Message#"
				}]
			}
		</cfoutput>
	</cfcatch>

</cftry>
<cfsetting showdebugoutput="no" >

